package com.weyoung.common.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "创建族谱请求")
public class CreateFamilyDTO {

    @Schema(description = "家族名称")
    @NotBlank(message = "家族名称不能为空")
    private String familyName;

    @Schema(description = "家族姓氏")
    @NotBlank(message = "家族姓氏不能为空")
    private String familySurname;

    @Schema(description = "始祖名称")
    @NotBlank(message = "始祖名称不能为空")
    private String progenitorName;

    @Schema(description = "封面图URL")
    private String coverImage;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区县")
    private String district;

    @Schema(description = "详细地址")
    private String familyAddress;

    @Schema(description = "家风家训")
    private String familyMotto;

    @Schema(description = "家族传承规则")
    private String heritage;

    @Schema(description = "家族简介")
    private String familyIntro;
} 